public class Hero {
    String name = "英雄";

    public Hero(String name){
        this.name = name;
        System.out.println("我是父类的构造方法");
    }
}
